﻿using Abp.Application.Services;
using Abp.Application.Services.Dto;
using Akso.Entities;
using Akso.ItemCategories.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Akso.ItemCategories
{
    public interface IItemCategoryAppService: IApplicationService
    {
        /// <summary>
        /// 获取数据记录
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<ListResultDto<ItemCategoryListDto>> GetObjects(GetItemCategoriesInput input);
        /// <summary>
        /// 保存记录
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<ItemCategory> CreateOrUpdateObject(CreateOrUpdateItemCategoryInput input);
        /// <summary>
        /// 在新增、编辑数据的弹出对话框中，获取对象的数据。
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<GetItemCategoryForEditOutput> GetObjectForEdit(NullableIdDto<Guid> input);
    }
}
